package ch.fusun.baron.player;

/**
 * All possible genders
 */
public enum Gender {
	/**
	 * Female
	 */
	FEMALE,
	/**
	 * Male
	 */
	MALE;

	/**
	 * @return male or female by 0.5 probability
	 */
	public static Gender random() {
		return Math.random() < 0.5 ? MALE : FEMALE;
	}
}
